import Home from '../pages/Home.vue'

const routes = [{
    path:'/',
    component: Home,
},{
    path:'/login',
    component: () => import('../pages/Login.vue')
},{
    path:'/detail/:id',
    component: () => import('../pages/Detail.vue')
},{
    path:'/person',
    component: () => import('../pages/Person.vue')
}];

export default routes;